using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Domain.Cm;

/// <summary>
/// 社区-勋章
/// </summary>
[SugarTable("cm_medal")]
public class CmMedal:Entity
{
    /// <summary>
    /// 勋章名称
    /// </summary>
    [Required]
    public string Name { get; set; }

    /// <summary>
    /// 勋章图片
    /// </summary>
    public string Img { get; set; }

    /// <summary>
    /// 获得条件
    /// </summary>
    public string Summary { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; }=DateTime.Now;

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string UpdateUser { get; set; }


}